import React from "react";
import {Button, ButtonProps} from "./button";
import {Meta, Story} from "@storybook/react/types-6-0";

export default {
  title: 'Button 按钮',
  component: Button,
} as Meta;


const Template: Story<ButtonProps> = (args) => <Button {...args} />;

export const ButtonSize = Template.bind({});
ButtonSize.args = {
  size: "lg",
  children: "Button",
  btnType: "primary"
};

